/**
*****************************************************************************
*
* Copyright (C) 2018 LAN-YOU(GuangZhou). All rights reserved
*
* @par Project:
*      TCU
*
* @par Module:
*      All modules using IPC
*
* @par Usage Notes:
*      Define all IPC event types used by TCU
*
* @par Author:
*      Nick HUANG
*
*****************************************************************************
*/

#ifndef __IPC_EVT_DEF_H__
#define __IPC_EVT_DEF_H__

#include <stdio.h>
#include <string.h>

typedef unsigned char UCHAR;
typedef unsigned int  UINT;

//车型
#define Vechile_type "21VT070A"

//4g版本
static char versionString[32] = {0};
static char versionAll[46] = {0};

#define VERSION_CODE_MAJOR    2        //软件版本号(主版本号)
#define VERSION_CODE_MINOR    0        //软件版本号(次版本号)
#define VERSION_CODE_APPEND     5
#define VERSION_CODE_APPEND_SECOND 1

#ifndef EXTERN_GET_VERSION_CODE
#define EXTERN_GET_VERSION_CODE

static inline char const * getVersionCode(){
if(strlen(versionString) < 1) {
sprintf(versionString, "%02d.%02d.%02d", VERSION_CODE_MAJOR, VERSION_CODE_MINOR, VERSION_CODE_APPEND);
}
return versionString;
}
static inline char const *getVersionAll()
{
if(strlen(versionAll) < 1) {
sprintf(versionAll, "%d.%d.%02d_%02d", VERSION_CODE_MAJOR, VERSION_CODE_MINOR, VERSION_CODE_APPEND,VERSION_CODE_APPEND_SECOND);
}
return versionAll;

}
#else
extern inline char const * getVersionCode();
extern inline char const * getVersionAll();
#endif
#define VERSION_CODE getVersionCode()
#define VERSION_ALL  getVersionAll()

#define TCU_RSP_DIRECTION_MASK                0x10000000
#define TCU_REQ_DIRECTION_MASK                0x10000000

#define TCU_ECALL_MCU_ASK                                         0x00000000

#define TCU_ECALL_DA_CallStatus                                0x00000000
#define TCU_MODEM_MCU_ICCID                               0x00000000
#define TCU_MODEM_ECALL_CallStatus                     0x00000000
#define TCU_DA_XX_XXData                                               0x00000000
#define TCU_TSP_XX_XXData                                              0x00000000
#define TCU_Diag_XX_XXData                                              0x00000000

//MCU_Manager
#define MCU_VIN_Req                                               0x00010001
#define MCU_VIN_Rsp                                                0x00010001  |TCU_RSP_DIRECTION_MASK
#define MCU_SftVersion_Req                                       0x00010002
#define MCU_SftVersion_Rsp                                     0x00010002|TCU_RSP_DIRECTION_MASK
#define MCU_HawVersion_Req                                    0x00010003
#define MCU_HawVersion_Rsp                                    0x00010003|TCU_RSP_DIRECTION_MASK
#define MCU_VehInfoData_Req                              0x00010004
#define MCU_VehInfoData_Rsp                                0x00010004|TCU_RSP_DIRECTION_MASK
#define MCU_GPSData_Req                                        0x00010005
#define MCU_GPSData_Rsp                                         0x00010005 |TCU_RSP_DIRECTION_MASK
#define MCU_RmtCtlRsp_Req                                       0x00010006
#define MCU_RmtCtl_Rsp                                              0x00010006|TCU_RSP_DIRECTION_MASK
#define MCU_TcuIdNUM_Req                                    0x00010007
#define MCU_TcuIdNUM_Rsp                                   0x00010007 |TCU_RSP_DIRECTION_MASK
#define MCU_OTAStatus_Req                                    0x00010008
#define MCU_OTAStatus_Rsp                                        0x00010008 |TCU_RSP_DIRECTION_MASK
#define MCU_BcmRgtStatus_Req                             0x00010009
#define MCU_BcmRgtStatus_Rsp                             0x00010009 |TCU_RSP_DIRECTION_MASK
#define MCU_RspOTA_Req                                             0x0001000a
#define MCU_RspOTA_Rsp                                          0x0001000a |TCU_RSP_DIRECTION_MASK
#define MCU_ECALL_Dialing_Req                                    0x0001000b
#define MCU_ECALL_Dialing_Rsp                               0x0001000b |TCU_RSP_DIRECTION_MASK
#define MCU_DevelpId_req                                         0x0001000c
#define MCU_DevelpId_rsp                                         0x0001000c|TCU_RSP_DIRECTION_MASK
#define MCU_TCU_ID_VER_Req                                            0x0001000d
#define MCU_TCU_ID_VER_Rsp                                           0x0001000d |  TCU_RSP_DIRECTION_MASK
// get 4G version
#define MCU_4GVersion_Req                                  0x0001000e
#define MCU_4GVersion_Rsp                                  0x0001000e|TCU_RSP_DIRECTION_MASK
// get MCU status
#define MCU_AvailableStatus_Req                            0x0001000f
#define MCU_AvailableStatus_Rsp                            0x0001000f|TCU_RSP_DIRECTION_MASK

#define MCU_DA_Info_Req                                            0x00010010
#define MCU_DA_Info_Rsp                                      0x00010010|  TCU_RSP_DIRECTION_MASK

#define MCU_Modem_Check_NetCard_Req                                            0x00010011
#define MCU_Modem_Check_NetCard_Rsp                                      0x00010011|  TCU_RSP_DIRECTION_MASK
// get Protocol version
#define MCU_Protocol_version_Req                            0x00010012
#define MCU_Protocol_version_Rsp                            0x00010012|  TCU_RSP_DIRECTION_MASK

#define MCU_STARTAPPLY_PKI_REQ                             0x00010013
#define MCU_STARTAPPLY_PKI_RSP                             0x00010013|TCU_RSP_DIRECTION_MASK

#define MCU_GPS_CONVER_REQ                                    0x00010014
#define MCU_GPS_CONVER_RSP                                    0x00010014|    TCU_RSP_DIRECTION_MASK

#define MCU_CRT_VERITY_REQ                                    0x00010015
#define MCU_CRT_VERITY_RSP                                    0x00010015|    TCU_RSP_DIRECTION_MASK

#define MCU_ECALL_CONFIG_ERQ                                    0x00010016
#define MCU_ECALL_CONFIG_RSP                                    0x00010016|TCU_RSP_DIRECTION_MASK

#define MCU_CLOSE_DA_REQ                                        0x00010017
#define MCU_CLOSE_DA_RSP                                        0x00010017|TCU_RSP_DIRECTION_MASK

#define MCU_BLE_MAC_REQ                                        0x00010018
#define MCU_BLE_MAC_RSP                                        0x00010018|TCU_RSP_DIRECTION_MASK

#define  MCU_BLE_BLE2DA_TRANSEND                             0x00010019
#define  MCU_BLE_DA2BLE_TRANSEND                             0x00010019|TCU_RSP_DIRECTION_MASK

#define MCU_RPACTRL_REQ                                        0x00010020
#define MCU_RPACTRL_RSP                                        0x00010020|TCU_RSP_DIRECTION_MASK

#define SOMEIP_RPASTAT_NOTIFY                                0x00010021
#define SOMEIP_RPASTAT_ACK                                        0x00010021|TCU_RSP_DIRECTION_MASK

//ECALL
#define TCU_Ecall_Status_Req                                         0x00020001
#define TCU_Ecall_Status_Rsp                                                  0x00020001|TCU_RSP_DIRECTION_MASK

#define Modem_PortAddIPAddr_Req                       0x00020002
#define Modem_PortAddIPAddr_Rsp                       0x00020002|TCU_RSP_DIRECTION_MASK

//日重启状态同步
#define MCU_24H_Restart_Notify                          0x00020003
#define MCU_24H_Restart_ACK                             0x00020003|TCU_RSP_DIRECTION_MASK

//定时任务唤醒
#define MCU_SETTIME_WAKEUP_REQ                          0x00020004
#define MCU_SETTIME_WAKEUP_RSP                          0x00020004|TCU_RSP_DIRECTION_MASK

//MODEM
#define Modem_PrivateCard_Status_Req                    0x00030001
#define Modem_PrivateCard_Status_Rsp                    0x00030001|TCU_RSP_DIRECTION_MASK
#define Modem_PublicCard_Status_Req                     0x00030002
#define Modem_PublicCard_Status_Rsp                     0x00030002|TCU_RSP_DIRECTION_MASK
#define Modem_Domain_Resolution_Req                     0x00030003
#define Modem_Domain_Resolution_Rsp                     0x00030003|TCU_RSP_DIRECTION_MASK
#define Modem_Manufacturer_Req                          0x00030004
#define Modem_Manufacturer_Rsp                          0x00030004|TCU_RSP_DIRECTION_MASK
#define Modem_Firmware_Version_Req                      0x00030005
#define Modem_Firmware_Version_Rsp                      0x00030005|TCU_RSP_DIRECTION_MASK
#define Modem_Imei_Req                                  0x00030006
#define Modem_Imei_Rsp                                  0x00030006|TCU_RSP_DIRECTION_MASK
#define Modem_Sim_Card_Imsi_Req                         0x00030007
#define Modem_Sim_Card_Imsi_Rsp                         0x00030007|TCU_RSP_DIRECTION_MASK
#define Modem_Sim_Card_Iccid_Req                        0x00030008
#define Modem_Sim_Card_Iccid_Rsp                        0x00030008|TCU_RSP_DIRECTION_MASK
#define Modem_Sim_Card_Status_Req                          0x00030009
#define Modem_Sim_Card_Status_Rsp                          0x00030009|TCU_RSP_DIRECTION_MASK
#define Modem_Antena_Main_Status_Req                    0x0003000A
#define Modem_Antena_Main_Status_Rsp                    0x0003000A|TCU_RSP_DIRECTION_MASK
#define Modem_Antena_Sub_Status_Req                     0x0003000B
#define Modem_Antena_Sub_Status_Rsp                     0x0003000B|TCU_RSP_DIRECTION_MASK
#define Modem_Signal_Req                                0x0003000C
#define Modem_Signal_Rsp                                0x0003000C|TCU_RSP_DIRECTION_MASK
#define Modem_Network_Mode_Req                          0x0003000D
#define Modem_Network_Mode_Rsp                          0x0003000D|TCU_RSP_DIRECTION_MASK
#define Modem_System_Goto_Sleep_Req                     0x0003000E
#define Modem_System_Goto_Sleep_Rsp                     0x0003000E|TCU_RSP_DIRECTION_MASK
#define Modem_System_Wakeup_Rsp                         0x0003000F|TCU_RSP_DIRECTION_MASK
#define Modem_Type_Req                                  0x00030010
#define Modem_Type_Rsp                                  0x00030010|TCU_RSP_DIRECTION_MASK
#define Modem_Carrier_Operator_Name_Req                 0x00030011
#define Modem_Carrier_Operator_Name_Rsp                 0x00030011|TCU_RSP_DIRECTION_MASK

#define TCU_ECALL_MODEM_DialingNum_Req                  0x00030012
#define TCU_ECALL_MODEM_DialingNum_Rsp                  0x00030012|TCU_RSP_DIRECTION_MASK

#define TCU_ECALL_MODEM_Answer_Req                      0x00030013
#define TCU_ECALL_MODEM_Answer_Rsp                      0x00030013|TCU_RSP_DIRECTION_MASK
#define TCU_ECALL_MODEM_GetCallState_Req                0x00030014
#define TCU_ECALL_MODEM_GetCallState_Rsp                0x00030014|TCU_RSP_DIRECTION_MASK

#define DBG_MODEM_SEND_ATC_Req                          0x00030015
#define DBG_MODEM_SEND_AT_Rsp                           0x00030015|TCU_RSP_DIRECTION_MASK

#define TCU_ECALL_MODEM_SendSms_Req                     0x00030016
#define TCU_ECALL_MODEM_SendSms_Rsp                     0x00030016|TCU_RSP_DIRECTION_MASK

#define TCU_ECALL_MODEM_SendDTMF_Req                    0x00030017
#define TCU_ECALL_MODEM_SendDTMF_Rsp                    0x00030017|TCU_RSP_DIRECTION_MASK

#define Modem_Set_IpTable_Req                           0x00030018
#define Modem_Set_IpTable_Rsp                           0x00030018|TCU_RSP_DIRECTION_MASK

#define TCU_ECALL_MODEM_SendSms_Test_Req                0x00030019
#define TCU_ECALL_MODEM_SendSms_Test_Rsp                0x00030019|TCU_RSP_DIRECTION_MASK

#define TCU_ECALL_MODEM_InitNau88u10Para_Req            0x0003001a
#define TCU_ECALL_MODEM_InitNau88u10Para_Rsp            0x0003001a|TCU_RSP_DIRECTION_MASK

#define TCU_ECALL_MODEM_SetAudioLoopTest_Req            0x0003001b
#define TCU_ECALL_MODEM_SetAudioLoopTest_Rsp            0x0003001b|TCU_RSP_DIRECTION_MASK
//切换路由及dns
#define Modem_Change_Default_Route_Req                  0x0003001c
#define Modem_Change_Default_Route_Rsp                  0x0003001c|TCU_RSP_DIRECTION_MASK

#define Modem_PushLog_Operator_Name_Req                 0x0003001d
#define Modem_PushLog_Operator_Name_Rsp                 0x0003001d|TCU_RSP_DIRECTION_MASK

#define Modem_PushLog_ip_Rsp                            0x0003001e|TCU_RSP_DIRECTION_MASK

//jiangbf 20201110 for NTP server ip
#define NTP_ip_Rsp                                      0x0003001f|TCU_RSP_DIRECTION_MASK

#define Modem_ISPrivateCardOK_Req                       0x00030020
#define Modem_ISPrivateCardOK_Rsp                       0x00030020|TCU_RSP_DIRECTION_MASK

//start REQ#35573:增加查询CS域状态的消息
#define Modem_ISCsDomainStatusOK_Req                    0x00030021
#define Modem_ISCsDomainStatusOK_Rsp                    0x00030021|TCU_RSP_DIRECTION_MASK
//end REQ#35573

#define DBG_MODEM_SEND_WARRING_Req                      0x00030022  /*TSP 测试*/
#define DBG_MODEM_SEND_WARRING_Rsq                      0x00030022|  TCU_RSP_DIRECTION_MASK  /*TSP 测试*/

// 增加EMMC只读问题处理交互IPC-20230918
#define MODEM_EMMC_HANDLE_NOTIFY                        0x00030023
#define MODEM_EMMC_HANDLE_ACK                           0x00030023|TCU_RSP_DIRECTION_MASK

// 增加EMMC只读问题重启交互IPC-20230918
#define MODEM_EMMC_REBOOT_NOTIFY                        0x00030024
#define MODEM_EMMC_REBOOT_ACK                           0x00030024|TCU_RSP_DIRECTION_MASK

#define Modem_System_Wakeup_MCU_Req                     0x00030025
#define Modem_System_Wakeup_MCU_RSP                     0x00030025|TCU_RSP_DIRECTION_MASK

#define DBG_MODEM_SEND_MCUDEBUG_Req                     0x00030026  /*MCU 测试*/
#define DBG_MODEM_SEND_MCUDEBUG_Rsq                     0x00030026|  TCU_RSP_DIRECTION_MASK  /*MCU 测试*/

//DA
#define DA_UsbConnect_Req                               0x00040001
#define DA_UsbConnect_Rsp                               0x00040001|  TCU_RSP_DIRECTION_MASK
#define DA_REGISTER_Req                                 0x00040002
#define DA_REGISTER_Rsp                                 0x00040002|  TCU_RSP_DIRECTION_MASK
#define DA_DaNum_Req                                    0x00040003
#define DA_DaNum_Rsp                                    0x00040003 |  TCU_RSP_DIRECTION_MASK

#define DA_SGMII_Test_Req                               0x00040004
#define DA_SGMII_Test_Rsp                               0x00040004 |  TCU_RSP_DIRECTION_MASK

#define DA_SEND_GPS_INFO_Req                            0x00040005
#define DA_SEND_GPS_INFO_Rsp                            0x00040005 |  TCU_RSP_DIRECTION_MASK

#define DA_ARP_Test_Req                                 0x00040006
#define DA_ARP_Test_Rsp                                 0x00040006 |  TCU_RSP_DIRECTION_MASK

#define DA_SGMII_SQI_NOTIFY_Req                         0x00040007
#define DA_SGMII_SQI_NOTIFY_Rsp                         0x00040007 |  TCU_RSP_DIRECTION_MASK

#define DA_SGMII_SET_WORKMODE_Req                       0x00040008
#define DA_SGMII_SET_WORKMODE_Rsp                       0x00040008 |  TCU_RSP_DIRECTION_MASK

#define DA_SEND_GPS_DTC_Req                             0x00040009
#define DA_SEND_GPS_DTC_Rsp                             0x00040009 |  TCU_RSP_DIRECTION_MASK

#define DA_SGMII_SET_NDS_TestPara_Req                   0x0004000a
#define DA_SGMII_SET_NDS_TestPara_Rsp                   0x0004000a | TCU_RSP_DIRECTION_MASK

#define DA_Manual_Refresh_net_Req                       0x0004000b
#define DA_Manual_Refresh_net_Rsp                       0x0004000b | TCU_RSP_DIRECTION_MASK

//TSP_Manager
#define TSP_IPaddr_port_GetOK_Req                                                          0x00050001
#define TSP_IPaddr_port_GetOK_Rsp                                                        0x00050001|  TCU_RSP_DIRECTION_MASK
#define TSP_Domain_ResolutionOK_Req                                                            0x00050002
#define TSP_Domain_ResolutionOK_Rsp                                                            0x00050002|  TCU_RSP_DIRECTION_MASK
#define TSP_LoginLanyouCloud_Req                                                            0x00050003
#define TSP_LoginLanyouCloud_Rsp                                                            0x00050003|  TCU_RSP_DIRECTION_MASK
#define TSP_LoginThirdCloud_Req                                                            0x00050004
#define TSP_LoginThirdCloud_Rsp                                                            0x00050004|  TCU_RSP_DIRECTION_MASK
#define TSP_LoginGovCloud_Req                                                            0x00050005
#define TSP_LoginGovCloud_Rsp                                                            0x00050005|  TCU_RSP_DIRECTION_MASK
#define TSP_DataReportCycle_Req                                        0x00050006
#define TSP_DataReportCycle_Rsp                                        0x00050006|  TCU_RSP_DIRECTION_MASK
#define TSP_RmtCtlRsp_Req                                           0x00050007
#define TSP_RmtCtl_Rsp                                               0x00050007|TCU_RSP_DIRECTION_MASK

#define TSP_OTA_INFO_PRT_Req                                        0x00050008
#define TSP_OTA_INFO_PRT_Rsp                                    0x00050008|TCU_RSP_DIRECTION_MASK

#define TSP_OTA_CANCEL_PRT_Req                                        0x00050009
#define TSP_OTA_CANCEL_PRT_Rsp                                      0x00050009|TCU_RSP_DIRECTION_MASK
#define TSP_Rc4Login_Rsp                                            0x0005000a|TCU_RSP_DIRECTION_MASK
// get CAR status
#define TSP_CarType_Req                                    0x0005000b
#define TSP_CarType_Rsp                                    0x0005000b|TCU_RSP_DIRECTION_MASK
// Tsp 回复整车数据
#define Tsp_VehInfoData_Req                                0x0005000c
#define Tsp_VehInfoData_Rsp                                0x0005000c|TCU_RSP_DIRECTION_MASK

#define TSP_PKI_STATE_Req                                  0x0005000d
#define TSP_PKI_STATE_Rsp                                  0x0005000d|TCU_RSP_DIRECTION_MASK

#define TSP_SYNC_TIME_Req                                  0x0005000e
#define TSP_SYNC_TIME_RSP                                   0x0005000e|TCU_RSP_DIRECTION_MASK

#define TSP_MODEM_GET_MODEM_LOG_REQ                         0x0005000f
#define TSP_MODEM_GET_MODEM_LOG_RSP                         0x0005000f|TCU_RSP_DIRECTION_MASK

#define TSP_MODEM_GET_MODEM_LOG_COMPLETE_NOTIFY             0x00050010
#define TSP_MODEM_GET_MODEM_LOG_COMPLETE_ACK                0x00050010|TCU_RSP_DIRECTION_MASK

//Diagnostic_Manager
#define Diagnostic_TSP_IpAddr                                     0x00060001
#define Diagnostic_TSP_IpPort                                     0x00060002
#define Diagnostic_TSP_SetTspCnt                                 0x00060003
#define Diagnostic_TSP_SetIpPort                                0x00060004
#define Diagnostic_MCU_VIN                                        0x00060005
#define Diagnostic_Modem_SoftwareVersion            0x00060006
#define Diagnostic_MCU_Info                                        0x00060007
#define Diagnostic_MCU_UartInfo                                0x00060008
#define Diagnostic_MCU_DtcInfo                                    0x00060009
#define Diagnostic_DA_Info                                            0x0006000a
#define Diagnostic_Modem_5GInfo                            0x0006000b
#define Diagnostic_Modem_Info                                    0x0006000c
#define Diagnostic_TSP_Info                                            0x0006000d
#define Diagnostic_ALL_Info                                            0x0006000e
#define Diagnostic_Modem_WiFiStatus                        0x0006000f
#define Diagnostic_Modem_SetWiFiStatus                0x00060010
#define Diagnostic_Modem_WiFiAccount                    0x00060011
#define Diagnostic_Modem_SetWiFiAccount            0x00060012
#define Diagnostic_TSP_GetTspCnt                                 0x00060013
//jiangbf 20200724 for double pki
#define Diagnostic_TSP_SetPKIEnvironment                                0x00060014
#define Diagnostic_TSP_PKIEnvironment                                    0x00060015
//enble testlog
#define Diagnostic_Enble_Testlog                                        0x00060016

// 8C01
#define OTA_UPG_INFO_POR_Req                                0x00070001
#define OTA_UPG_INFO_POR_Rsp                                0x00070001|TCU_RSP_DIRECTION_MASK

// 8C02
#define OTA_CancelNormol_Req                                0x00070002
#define OTA_CancelNormol_Rsp                                 0x00070002|TCU_RSP_DIRECTION_MASK
// 0C03
#define OTA_CodeTypeProto_Req                               0x00070003
#define OTA_CodeTypeProto_Rsp                               0x00070003|TCU_RSP_DIRECTION_MASK
// C401
#define OTA_UpgradeStatus_Req                               0x00070004
#define OTA_UpgradeStatus_Rsp                               0x00070004|TCU_RSP_DIRECTION_MASK
// C402
#define OTA_Upgrade4GReault_Req                             0x00070005
#define OTA_Upgrade4GReault_Rsp                             0x00070005|TCU_RSP_DIRECTION_MASK
// C403
#define OTA_UpgradeMcu_Rsp                                   0x00070006
# define OTA_UpgradeMcu_Req                                 0x00070006|TCU_RSP_DIRECTION_MASK

// C404
#define OTA_UpgradeResult_Req                               0x00070007
#define OTA_UpgradeResult_Rsp                               0x00070007|TCU_RSP_DIRECTION_MASK
// bootloader
#define OTA_Bootloader_Req                                  0x00070008
#define OTA_Bootloader_Rsp                                  0x00070008|TCU_RSP_DIRECTION_MASK
// Silence upgrade
#define OTA_SilenceUpgrade_Req                              0x00070009
#define OTA_SilenceUpgrade_Rsp                              0x00070009|TCU_RSP_DIRECTION_MASK

// Silence Sleep
#define OTA_SilenceSleep_Req                                0x0007000a
#define OTA_SilenceSleep_Rsp                                0x0007000a|TCU_RSP_DIRECTION_MASK
//
#define OTA_Status_Notion_Req                               0x0007000b
#define OTA_Status_Notion_Rsp                               0x0007000b|TCU_RSP_DIRECTION_MASK

#define MODEM_SilenceSleep_Req                              0x00070010
#define MODEM_SilenceSleep_Rsp                              0x00070010|TCU_RSP_DIRECTION_MASK

#define MODEM_SleepAddWakeUp_Req                            0x00070011
#define MODEM_SleepAddWakeUp_Rsp                            0x00070011|TCU_RSP_DIRECTION_MASK

#define MODEM_WAKEUP_STATUS_NOTIFY                          0x00070012

#define OTA_SSH_Upgrade                                     0x0007000c
#define OTA_MCU_Debug                                       0x0007000d

#define OTA_ssh_Upgradereq                     0x0007000e
#define OTA_ssh_Upgradersp                     0x0007000e|TCU_RSP_DIRECTION_MASK

#define OTA_UpgradeStatus_ACK                               0x0007000f

#define TCU_MCU_ECALL_CTL_Req                                   0x00080001
#define TCU_MCU_ECALL_CTL_Rsp                                       0x00080001|TCU_RSP_DIRECTION_MASK

#define CALLMANAGER_AUDIO_TEST_Req                              0x00080002
#define CALLMANAGER_AUDIO_TEST_Rsp                              0x00080002|TCU_RSP_DIRECTION_MASK

#define CALLMANAGER_SetVCall_Num_Req                              0x00080003
#define CALLMANAGER_SetVCall_Num_Rsp                              0x00080003|TCU_RSP_DIRECTION_MASK
#define CALLMANAGER_Make_VCall_Req                              0x00080004
#define CALLMANAGER_Make_VCall_Rsp                              0x00080004|TCU_RSP_DIRECTION_MASK

#define MODEM_GET_VIN_TEST_Req                              0x00080005
#define MODEM_GET_VIN_TEST_Rsp                              0x00080005|TCU_RSP_DIRECTION_MASK

#define TCU_SET_NAD_REBOOT_Req                              0x00080006
#define TCU_SET_NAD_REBOOT_Rsp                              0x00080006|TCU_RSP_DIRECTION_MASK

#define TCU_MCU_ECALL_BACK_Req                               0x00080007

// add by 3AuTao 2019-03-14
#define BK_MCU_MACADDR_Req                                    0x00090001
#define BK_MCU_MACADDR_Rsp                                    0x00090001|TCU_RSP_DIRECTION_MASK
#define BK_MCU_OWNER_KEY_STATUS_Req                            0x00090002
#define BK_MCU_OWNER_KEY_STATUS_Rsp                            0x00090002|TCU_RSP_DIRECTION_MASK
#define BK_MCU_OTHERS_KEY_STATUS_Req                        0x00090003
#define BK_MCU_OTHERS_KEY_STATUS_Rsp                        0x00090003|TCU_RSP_DIRECTION_MASK
#define BK_MCU_OWNER_KEY_Rsp                                0x00090004
#define BK_MCU_OWNER_KEY_Req                                0x00090004|TCU_RSP_DIRECTION_MASK
#define BK_MCU_OTHERS_KEY_Rsp                                0x00090005
#define BK_MCU_OTHERS_KEY_Req                                0x00090005|TCU_RSP_DIRECTION_MASK
#define BK_MCU_APP_KEY_Rsp                                    0x00090006
#define BK_MCU_APP_KEY_Req                                    0x00090006|TCU_RSP_DIRECTION_MASK

#define ETC_MCU_ETCStatus_Notify                            0x00090007
#define ETC_MCU_ETC_TranAmount_Notify                        0x00090008

///////////////////////////////////////////////////////////////////////////////////////
#define TCU_APP1_APP2_EVT                                                0x000e0001
#define TCU_APP2_APP1_EVT                                                0x000f0001

/***************************** 新添加 *****************************/
/***************************** CALL *****************************/
#define SOMEIP_CALL_AUTO_ECALL_TRIGGER_REQ                      0x00100001
#define SOMEIP_CALL_AUTO_ECALL_TRIGGER_RSP                      0x00100001|TCU_RSP_DIRECTION_MASK

#define CALL_MODEM_ECALL_DIAL_REQ                               0x00100002
#define CALL_MODEM_ECALL_DIAL_RSP                               0x00100002|TCU_RSP_DIRECTION_MASK

#define CALL_MODEM_ECALL_PHONE_STATE_REQ                        0x00100003
#define CALL_MODEM_ECALL_PHONE_STATE_RSP                        0x00100003|TCU_RSP_DIRECTION_MASK

#define CALL_MODEM_AUDIO_PLAY_REQ                               0x00100004
#define CALL_MODEM_AUDIO_PLAY_RSP                               0x00100004|TCU_RSP_DIRECTION_MASK

#define CALL_MODEM_AUDIO_PLAY_STATE_REQ                         0x00100005
#define CALL_MODEM_AUDIO_PLAY_STATE_RSP                         0x00100005|TCU_RSP_DIRECTION_MASK

#define CALL_MODEM_SEND_SMS_REQ                                 0x00100006
#define CALL_MODEM_SEND_SMS_RSP                                 0x00100006|TCU_RSP_DIRECTION_MASK

#define ECALL_SOMEIP_CONTROL_NOTIFY                             0x00100007
#define SOMEIP_ACU_CRASH_NOTIFY                                 0x00100008
#define SOMEIP_ACU_CRASH_ACK                                    0x00100008|TCU_RSP_DIRECTION_MASK

#define CALL_MODEM_AUDIO_STATE_REQ                              0x00100009
#define CALL_MODEM_AUDIO_STATE_RSP                              0x00100009|TCU_RSP_DIRECTION_MASK

#define CALL_MODEM_ECALL_ANSWER_REQ                             0x00100010
#define CALL_MODEM_ECALL_ANSWER_RSP                             0x00100010|TCU_RSP_DIRECTION_MASK

#define CALL_SET_ECALL_PHONE_NUMBER_REQ                         0x00100011
#define CALL_SET_ECALL_PHONE_NUMBER_RSP                         0x00100011|TCU_RSP_DIRECTION_MASK

#define CALL_MUTE_STATUS_NOTIFY                                 0x00100012
#define CALL_MUTE_STATUS_ACK                                    0x00100012|TCU_RSP_DIRECTION_MASK

/***************************** MODEM *****************************/
#define MODEM_SOMEIP_GNSS_RSP                                   0x00110001|TCU_RSP_DIRECTION_MASK

#define MODEM_SOMEIP_RTK_RSP                                    0x00110002|TCU_RSP_DIRECTION_MASK

#define MODEM_TSP_IDPS_RSP                                      0x00110003|TCU_RSP_DIRECTION_MASK

#define MODEM_ECALL_LOCATION_REQ                                0x00110004
#define MODEM_ECALL_LOCATION_RSP                                0x00110004|TCU_RSP_DIRECTION_MASK

#define MODEM_NETWORK_INFO_NOTIFY                               0x00110005

#define MODEM_DNN_CONNECTION_STATUS_NOTIFY                      0x00110006

#define Modem_VersionInfo_Req                                   0x00110008
#define Modem_VersionInfo_Rsp                                   0x00110008|TCU_RSP_DIRECTION_MASK

#define MODEM_SIM_ID_INFO_REQ                                   0x00110009
#define MODEM_SIM_ID_INFO_RSP                                   0x00110009|TCU_RSP_DIRECTION_MASK

#define Modem_Sim_Card_Status_Notify                            0x00110010

// 时间同步
#define Modem_SyncSysTimeState_Req                              0x00110011
#define Modem_SyncSysTimeState_Rsp                              0x00110011|TCU_RSP_DIRECTION_MASK

#define Modem_GetMcuRtcTime_Req                                 0x00110012
#define Modem_GetMcuRtcTime_Rsp                                 0x00110012|TCU_RSP_DIRECTION_MASK

// MCU LOG
#define MCU_SYSLOG_McuErrLog_Rsp                                0x00110013|TCU_RSP_DIRECTION_MASK

// AP LOG打包完成通知
#define AP_SYSLOG_ApErrLog_Rsp                                  0x00110014|TCU_RSP_DIRECTION_MASK

// 请求AP的log发过来
#define AP_SYSLOG_InfoLog_Req                                   0x00110015
#define AP_SYSLOG_InfoLog_Rsp                                   0x00110015|TCU_RSP_DIRECTION_MASK

#define MODEM_SEND_AT_CMD_Req                                   0x00110016
#define MODEM_SEND_AT_CMD_Rsp                                   0x00110016|TCU_RSP_DIRECTION_MASK

#define MCU_SOMEIP_PMM_DIAG_STATUS_Req                          0x00110017
#define MCU_SOMEIP_PMM_DIAG_STATUS_Rsp                          0x00110017|TCU_RSP_DIRECTION_MASK

#define Modem_SyncRTCTimeFlag_Req                               0x00110018
#define Modem_SyncRTCTimeFlag_Rsp                               0x00110018|TCU_RSP_DIRECTION_MASK

#define Modem_SystemStartupState_Req                            0x00110019
#define Modem_SystemStartupState_Rsp                            0x00110019|TCU_RSP_DIRECTION_MASK

// PNC电源管理需求-20240430
// 唤醒源设置与取消-20240430
#define MODEM_WAKEUP_SOURCE_SETUP_REQ                           0x00110020
#define MODEM_WAKEUP_SOURCE_SETUP_RSP                           0x00110020|TCU_RSP_DIRECTION_MASK

// 设备上下电请求-20240430
#define MODEM_DEVICE_POWER_SETUP_REQ                            0x00110021
#define MODEM_DEVICE_POWER_SETUP_RSP                            0x00110021|TCU_RSP_DIRECTION_MASK

/***************************** DA *****************************/
#define DA_SOMEIP_SET_LOG_CONFIG_REQ                            0x00120001
#define DA_SOMEIP_SET_LOG_CONFIG_RSP                            0x00120001|TCU_RSP_DIRECTION_MASK

#define DA_SOMEIP_RECEIVE_LOG_CONFIG_NOTIFY                     0x00120002

#define DA_SOMEIP_UPLOAD_LOG_REQ                                0x00120003
#define DA_SOMEIP_UPLOAD_LOG_RSP                                0x00120003|TCU_RSP_DIRECTION_MASK

#define DA_SOMEIP_TRANSMIT_LOG_REQ                              0x00120004
#define DA_SOMEIP_TRANSMIT_LOG_RSP                              0x00120004|TCU_RSP_DIRECTION_MASK

#define DA_SOMEIP_RESET_LOG_REQ                                 0x00120005
#define DA_SOMEIP_RESET_LOG_RSP                                 0x00120005|TCU_RSP_DIRECTION_MASK

#define DA_SOMEIP_RESET_TBOX_REQ                                0x00120006
#define DA_SOMEIP_RESET_TBOX_RSP                                0x00120006|TCU_RSP_DIRECTION_MASK

#define DA_SOMEIP_IMEI_INFO_NOTIFY                              0x00120007

#define DA_SOMEIP_SIM_INFO_NOTIFY                               0x00120008

#define DA_SOMEIP_TBOX_VERSION_NOTIFY                           0x00120009

#define DA_SOMEIP_VIN_INFO_NOTIFY                               0x00120010

#define DA_SOMEIP_TBOX_FAULT_NOTIFY                             0x00120011

#define DA_SOMEIP_WAKEUP_SOURCE_NOTIFY                          0x00120012

#define DA_SOMEIP_DNN_CONNECT_NOTIFY                            0x00120013

#define DA_SOMEIP_NETWORK_INFO_NOTIFY                           0x00120014

#define DA_SOMEIP_SIGNAL_STRENGTH_NOTIFY                        0x00120015

#define DA_MCU_RESET_TBOX_REQ                                   0x00120016
#define DA_MCU_RESET_TBOX_RSP                                   0x00120016|TCU_RSP_DIRECTION_MASK

#define DA_SOMEIP_UPLOAD_LOG_NOTIFY                             0x00120017

#define DA_LOG_NEW_PACKAGE_NOTIFY                               0x00120018
#define DA_LOG_NEW_PACKAGE_ACK                                  0x00120018|TCU_RSP_DIRECTION_MASK

/***************************** Version *****************************/
#define TBOX_Hardware_Version_Req                               0x00130001
#define TBOX_Hardware_Version_Rsp                               0x00130001|TCU_RSP_DIRECTION_MASK

#define TBOX_Software_Version_Req                               0x00130002
#define TBOX_Software_Version_Rsp                               0x00130002|TCU_RSP_DIRECTION_MASK

#define TBOX_SOMEIP_Version_Req                                 0x00130003
#define TBOX_SOMEIP_Version_Rsp                                 0x00130003|TCU_RSP_DIRECTION_MASK

#define TBOX_DoIP_Version_Req                                   0x00130004
#define TBOX_DoIP_Version_Rsp                                   0x00130004|TCU_RSP_DIRECTION_MASK

#define TBOX_IDPS_Version_Req                                   0x00130005
#define TBOX_IDPS_Version_Rsp                                   0x00130005|TCU_RSP_DIRECTION_MASK

#define TBOX_RTK_Version_Req                                    0x00130006
#define TBOX_RTK_Version_Rsp                                    0x00130006|TCU_RSP_DIRECTION_MASK

#define TBOX_BLE_Version_Req                                    0x00130007
#define TBOX_BLE_Version_Rsp                                    0x00130007|TCU_RSP_DIRECTION_MASK

#define TBOX_PKI_NAD_Version_Req                                0x00130008
#define TBOX_PKI_NAD_Version_Rsp                                0x00130008|TCU_RSP_DIRECTION_MASK

#define TBOX_PKI_AP_Version_Req                                 0x00130009
#define TBOX_PKI_AP_Version_Rsp                                 0x00130009|TCU_RSP_DIRECTION_MASK

#define TBOX_Fault_Notify                                       0x00130010

#define TSP_Wakeup_Source_Notify                                0x00130011

// #define TBOX_MCU_Version_Req                                 0x00130012
// #define TBOX_MCU_Version_Rsp                                 0x00130012|TCU_RSP_DIRECTION_MASK

#define TBOX_NAD_Version_Req                                    0x00130013
#define TBOX_NAD_Version_Rsp                                    0x00130013|TCU_RSP_DIRECTION_MASK

#define TBOX_AP_Version_Req                                     0x00130014
#define TBOX_AP_Version_Rsp                                     0x00130014|TCU_RSP_DIRECTION_MASK

#define TBOX_MODEM_SDK_VERSION_REQ                              0x00130015
#define TBOX_MODEM_SDK_VERSION_RSP                              0x00130015|TCU_RSP_DIRECTION_MASK

#define SOMEIP_MODEM_5G_SWITCH_TYPE_REQ                         0x00130017
#define SOMEIP_MODEM_5G_SWITCH_TYPE_RSP                         0x00130017|TCU_RSP_DIRECTION_MASK

#define SOMEIP_MODEM_NETWORK_SWITCH_TYPE_REQ                    0x00130018
#define SOMEIP_MODEM_NETWORK_SWITCH_TYPE_RSP                    0x00130018|TCU_RSP_DIRECTION_MASK

#define MCU_MODEM_TEST_INFO_REQ                                 0x00130019
#define MCU_MODEM_TEST_INFO_RSP                                 0x00130019|TCU_RSP_DIRECTION_MASK

#define V2X_FCT_TEST_CTRL_REQ                                   0x00130020
#define V2X_FCT_TEST_CTRL_RSP                                   0x00130020|TCU_RSP_DIRECTION_MASK

#define SOMEIP_MODEM_5G_SWITCH_STATUS_REQ                       0x00130021
#define SOMEIP_MODEM_5G_SWITCH_STATUS_RSP                       0x00130021|TCU_RSP_DIRECTION_MASK

#define SOMEIP_MODEM_5G_SWITCH_STATUS_NOTIFY                    0x00130022
#define SOMEIP_MODEM_5G_SWITCH_STATUS_ACK                       0x00130022|TCU_RSP_DIRECTION_MASK

/***************************** Upgrade *****************************/
#define UPGRADE_VERIFY_UPGRADE_PACKAGE_REQ                      0x00140001
#define UPGRADE_VERIFY_UPGRADE_PACKAGE_RSP                      0x00140001|TCU_RSP_DIRECTION_MASK

#define UPGRADE_START_UPGRADE_REQ                               0x00140002
#define UPGRADE_START_UPGRADE_RSP                               0x00140002|TCU_RSP_DIRECTION_MASK

#define UPGRADE_TBOX_UPGRADE_STATE_NOTIFY                       0x00140003

/***************************** TSP *****************************/
#define TSP_SOMEIP_COnOffReqFro_REQ                             0x000501001 // FrontACSet前排空调设置
#define TSP_SOMEIP_COnOffReqFro_RSP                             0x000501001|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_BlwLvAdjReqFro_REQ                           0x000501002
#define TSP_SOMEIP_BlwLvAdjReqFro_RSP                           0x000501002|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_AutoOnOffReqFro_REQ                          0x000501003
#define TSP_SOMEIP_AutoOnOffReqFro_RSP                          0x000501003|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ModeAdjReqFro_REQ                            0x000501004
#define TSP_SOMEIP_ModeAdjReqFro_RSP                            0x000501004|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ACOnOffReqFro_REQ                            0x000501005
#define TSP_SOMEIP_ACOnOffReqFro_RSP                            0x000501005|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ACStsFro_REQ                                 0x000501006
#define TSP_SOMEIP_ACStsFro_RSP                                 0x000501006|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ACStsFro_NOTIFY                              0x000501007 // 前排空调状态

#define TSP_SOMEIP_DeforstOnOffReqFro_REQ                       0x000502001
#define TSP_SOMEIP_DeforstOnOffReqFro_RSP                       0x000502001|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_DeforstOnOffReqRear_REQ                      0x000502002
#define TSP_SOMEIP_DeforstOnOffReqRear_RSP                      0x000502002|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_CirculModeAdj_REQ                            0x000502003
#define TSP_SOMEIP_CirculModeAdj_RSP                            0x000502003|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ACWorkMode_REQ                               0x000502004
#define TSP_SOMEIP_ACWorkMode_RSP                               0x000502004|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_CoolantFill_REQ                              0x000502005
#define TSP_SOMEIP_CoolantFill_RSP                              0x000502005|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_AntiOverHeatOnOff_REQ                        0x000502006
#define TSP_SOMEIP_AntiOverHeatOnOff_RSP                        0x000502006|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_AutoDefOnOff_REQ                             0x000502007
#define TSP_SOMEIP_AutoDefOnOff_RSP                             0x000502007|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_AutoCirculOnOff_REQ                          0x000502008
#define TSP_SOMEIP_AutoCirculOnOff_RSP                          0x000502008|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_GeneralACFeedSts_REQ                         0x000502009
#define TSP_SOMEIP_GeneralACFeedSts_RSP                         0x000502009|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_GeneralACSts_REQ                             0x000502010
#define TSP_SOMEIP_GeneralACSts_RSP                             0x000502010|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_AirBleedReq_REQ                              0x000502012
#define TSP_SOMEIP_AirBleedReq_RSP                              0x000502012|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_CabinCoolingOnOff_REQ                        0x000502013
#define TSP_SOMEIP_CabinCoolingOnOff_RSP                        0x000502013|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_GeneralACSts_NOTIFY                          0x000502014 // 空调通用状态

#define TSP_SOMEIP_GeneralACFeedSts_NOTIFY                      0x000502015 // 空调通用请求反馈状态 01038001

#define TSP_SOMEIP_TimedChrgSet_NOTIFY                          0x000502016 // 3000 800A 定时充电用户设置信息反馈

#define TSP_SOMEIP_TimedChrgSetSaveSt_NOTIFY                    0x000502017 // 3000 800B 定时充电用户设置信息设置状态反馈

#define TSP_SOMEIP_RestarChrgAllowflg_NOTIFY                    0x000502018 // 3000 800C 充电启动显示

#define TSP_SOMEIP_ControlElockAllowflg_NOTIFY                  0x000502019 // 3000 800D 电子锁控制按钮显示

#define TSP_SOMEIP_COnOffReqRear_REQ                            0x000503001
#define TSP_SOMEIP_COnOffReqRear_RSP                            0x000503001|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ACOnOffReqRear_REQ                           0x000503002
#define TSP_SOMEIP_ACOnOffReqRear_RSP                           0x000503002|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_TempSyncAdjReqRear_REQ                       0x000503003
#define TSP_SOMEIP_TempSyncAdjReqRear_RSP                       0x000503003|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_RearLockReq_REQ                              0x000503004
#define TSP_SOMEIP_RearLockReq_RSP                              0x000503004|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_IdentifyAgeACOnOff_REQ                       0x000503005
#define TSP_SOMEIP_IdentifyAgeACOnOff_RSP                       0x000503005|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ACStsRear_REQ                                0x000503006
#define TSP_SOMEIP_ACStsRear_RSP                                0x000503006|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_VehicleDrivingInform_REQ                     0x000504001 // VehicleDrivingInfo整车行车信息
#define TSP_SOMEIP_VehicleDrivingInform_RSP                     0x000504001|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_AirSuspSysSts_REQ                            0x000505001
#define TSP_SOMEIP_AirSuspSysSts_RSP                            0x000505001|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_AirSuspSysFailInfo_REQ                       0x000505002
#define TSP_SOMEIP_AirSuspSysFailInfo_RSP                       0x000505002|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_AutoEasyEntryOnOff_REQ                       0x000505003
#define TSP_SOMEIP_AutoEasyEntryOnOff_RSP                       0x000505003|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_MaintainModeOnOff_REQ                        0x000505004
#define TSP_SOMEIP_MaintainModeOnOff_RSP                        0x000505004|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_AutohighModAdjOnOff_REQ                      0x000505005
#define TSP_SOMEIP_AutohighModAdjOnOff_RSP                      0x000505005|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ManualEasyOutOnOff_REQ                       0x000505006
#define TSP_SOMEIP_ManualEasyOutOnOff_RSP                       0x000505006|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_AirSuspModeAdj_REQ                           0x000505007
#define TSP_SOMEIP_AirSuspModeAdj_RSP                           0x000505007|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ManualAirSuspAdj_REQ                         0x000505008
#define TSP_SOMEIP_ManualAirSuspAdj_RSP                         0x000505008|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_AirSuspSysFeedSts_REQ                        0x000505009
#define TSP_SOMEIP_AirSuspSysFeedSts_RSP                        0x000505009|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_SteeringSysSts_REQ                           0x000505010
#define TSP_SOMEIP_SteeringSysSts_RSP                           0x000505010|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_SteeringSysFailInfo_REQ                      0x000505011
#define TSP_SOMEIP_SteeringSysFailInfo_RSP                      0x000505011|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_EPSModeSet_REQ                               0x000505012
#define TSP_SOMEIP_EPSModeSet_RSP                               0x000505012|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ComfortParkingOnOffReq_REQ                   0x000506001
#define TSP_SOMEIP_ComfortParkingOnOffReq_RSP                   0x000506001|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ESCOnOffReq_REQ                              0x000506002
#define TSP_SOMEIP_ESCOnOffReq_RSP                              0x000506002|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_HDCReq_REQ                                   0x000506003
#define TSP_SOMEIP_HDCReq_RSP                                   0x000506003|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ChassisSysFeedSts_REQ                        0x000506004
#define TSP_SOMEIP_ChassisSysFeedSts_RSP                        0x000506004|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ChassisSysSts_REQ                            0x000506005
#define TSP_SOMEIP_ChassisSysSts_RSP                            0x000506005|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ChassisSysFailInfo_REQ                       0x000506006
#define TSP_SOMEIP_ChassisSysFailInfo_RSP                       0x000506006|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_IPBModeSet_REQ                               0x000506007
#define TSP_SOMEIP_IPBModeSet_RSP                               0x000506007|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ChgLidCmd_REQ                                0x000506008 // 充电口盖解锁
#define TSP_SOMEIP_ChgLidCmd_RSP                                0x000506008|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_ACU_information_NOTIFY                       0x000507001 // ACUCrashInfo碰撞输出
#define TSP_SOMEIP_ACU_information_ACK                          0x000507001|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_VehicleDrivingInfo_NOTIFY                    0x000507002 // 整车信息

#define TSP_SOMEIP_WinAutoClose_RLSWinSts_NOTIFY                0x000508002 // 自动关窗失败提醒（雨天）
#define TSP_SOMEIP_WinAutoClose_RLSWinSts_ACK                   0x000508002|TCU_RSP_DIRECTION_MASK // 自动关窗失败提醒（雨天）

#define TSP_SOMEIP_WindowPosition_REQ                           0x000509001 // 车窗状态
#define TSP_SOMEIP_WindowPosition_RSP                           0x000509001|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_WinAutoClose_LokUpSts_NOTIFY                 0x000509002 // 自动关窗失败提醒（闭锁）
#define TSP_SOMEIP_WinAutoClose_LokUpSts_ACK                    0x000509002|TCU_RSP_DIRECTION_MASK // 自动关窗失败提醒（闭锁）

#define TSP_SOMEIP_DoorLockSts_NOTIFY                           0x000509005 // 整车锁状态

#define TSP_SOMEIP_POT_OPENCLOSECMD_NOTIFY                      0x000509008

#define TSP_SOMEIP_TextRemind_NOTIFY                            0x000509011 // 热失控
#define TSP_SOMEIP_TextRemind_ACK                               0x000509011|TCU_RSP_DIRECTION_MASK // 热失控

// #define TSP_SOMEIP_PropModeSet_REQ                           0x000509012 // 远程启动发动机
// #define TSP_SOMEIP_PropModeSet_RSP                           0x000509012|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_PowerSysDisplay_NOTIFY                       0x000509014 // 动力系统显示信息

#define TSP_SOMEIP_EnergyInform_NOTIFY                          0x000509015 // 能量信息

#define TSP_SOMEIP_PowerSysFeedSts_NOTIFY                       0x000509017 // 反馈状态

#define TSP_SOMEIP_UseCarBookSetSts_NOTIFY                      0x000509018 // 预约用车设置状态

#define TSP_SOMEIP_USECARBOOKSET_NOITFY                         0x000509019 // 预约用车反馈状态
#define TSP_SOMEIP_USECARBOOKSET_ACK                            0x000509019|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_SentryMonitoringAlarm_NOTIFY                 0x000509020 // 哨兵报警
#define TSP_SOMEIP_SentryMonitoringAlarm_ACK                    0x000509020|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_TrunLampSts_NOTIFY                           0x000509021 // 转向灯状态

#define TSP_SOMEIP_RearCabVisRecoFeedSts_NOTIFY                 0x000509022 // RearCabinVisualReco后排人员状态
#define TSP_SOMEIP_RearCabVisRecoFeedSts_ACK                    0x000509022|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_AlarmController_NOTIFY                       0x000509023 // 车辆防盗报警
#define TSP_SOMEIP_AlarmController_ACK                          0x000509023|TCU_RSP_DIRECTION_MASK // 车辆防盗报警

#define TSP_SOMEIP_ACStsRear_NOTIFY                             0x000509024 // 后排空调状态

// RemoteDataUpload数据上传服务
#define TSP_SOMEIP_GB_DataUploadMsg_NOTIFY                      0x000509025 // 车内国标数据

#define TSP_SOMEIP_ShieldKeyState_NOTIFY                        0x000509026 // 钥匙遗留
#define TSP_SOMEIP_ShieldKeyState_ACK                           0x000509026|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_BLEPosition_NOTIFY                           0x000509027 // 蓝牙钥匙位置信息
#define TSP_SOMEIP_BLEPosition_ACK                              0x000509027|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_BLEConfirm_NOTIFY                            0x000509028 // 蓝牙钥匙状态确认
#define TSP_SOMEIP_BLEConfirm_ACK                               0x000509028|TCU_RSP_DIRECTION_MASK

// 车辆模式
#define TSP_SOMEIP_UsageModes_NOTIFY                            0x000510002

#define TSP_SOMEIP_StartForbiden_NOTIFY                         0x000510003

#define TSP_SOMEIP_CarModes_NOTIFY                              0x000510004

#define TSP_SOMEIP_Feature_FL_NOTIFY                            0x000511001 // FrontCabinVisualReco获取左前人员特征信息(疲劳通知)
#define TSP_SOMEIP_Feature_FL_ACK                               0x000511001|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_DEVICE_SNINFO_REQ                            0x000511002
#define TSP_SOMEIP_DEVICE_SNINFO_RSP                            0x000511002|TCU_RSP_DIRECTION_MASK

#define TSP_Diagnostic_DEVICE_INFO_NOTIFY                       0x000511003
#define TSP_Diagnostic_DEVICE_INFO_ACK                          0x000511003|TCU_RSP_DIRECTION_MASK

#define TSP_Diagnostic_DEVICE_INFO_REQ                          0x000511004
#define TSP_Diagnostic_DEVICE_INFO_RSP                          0x000511004|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_TboxMileage_NOTIFY                           0x000511005

#define TSP_SOMEIP_WakeupReasonByCloud_REQ                      0x000511006
#define TSP_SOMEIP_WakeupReasonByCloud_RSP                      0x000511006|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_DoorSts_NOTIFY                               0x000512001 // DoorStsService门状态

#define TSP_SOMEIP_AccessAuth_INQUIRE                           0x000513000

#define TSP_SOMEIP_AccessAuth_NOTIFY                            0x000513001 // 安全认证
#define TSP_SOMEIP_AccessAuth_ACK                               0x000513001|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_TPMSFunMsg_NOTIFY                            0x000516001 // 胎压信息

#define TSP_SOMEIP_FL_SeatSts_NOTIFY                            0x000518001 // 左前座椅服务

#define TSP_SOMEIP_FR_SeatSts_NOTIFY                            0x000519001 // 右前座椅服务

#define TSP_SOMEIP_SRL_SeatSts_NOTIFY                           0x00051a001 // 左后座椅服务

#define TSP_SOMEIP_SRR_SeatSts_NOTIFY                           0x00051b001 // 右后座椅服务

#define TSP_SOMEIP_SteerringWheelCtrl_NOTIFY                    0x00051c001 // 方向盘控制

#define TSP_SOMEIP_GeneralSts_QNX_NOTIFY                        0x00051d001

#define TSP_SOMEIP_POT_StsFeed_NOTIFY                           0x00051e001

#define TSP_SOMEIP_UseCarBookSetSts_REQ                         0x00051e003
#define TSP_SOMEIP_UseCarBookSetSts_RSP                         0x00051e003|TCU_RSP_DIRECTION_MASK

#define TSP_SOMEIP_SOCLOW_NOTIFY                                0x00051e004 // 低电量告警
#define TSP_SOMEIP_SOCLOW_ACK                                   0x00051e004|TCU_RSP_DIRECTION_MASK // 低电量告警

#define TSP_SOMEIP_SKYLIGHT_STATUS_NOTIFY                       0x00051e006 // 天窗状态上报


#define TSP_SOMEIP_ntfSentryModeFaults_NOTIFY                   0x00051E106 //8D018001 哨兵模式异常状态
#define TSP_SOMEIP_ntfSentryModeSetResult_NOTIFY                0x00051E107 //8D018004 哨兵模式开启结果
#define TSP_SOMEIP_ntfSentryModeRpt_NOTIFY                      0x00051E108 //8D018003 哨兵模式异常状态
#define TSP_SOMEIP_SentryModeStatus_NOTIFY                      0x00051E109 //8D019001 哨兵模式异常状态

// 远控请求
#define TSP_SOMEIP_VehicleAccessService_REQ                     0x000508001 // 功能:一键寻车 云端信号: 0x01 车端信号: 0x01340001
#define TSP_SOMEIP_VehicleAccessService_RSP                     0x000508001|TCU_RSP_DIRECTION_MASK // 功能:一键寻车 云端信号: 0x01 车端信号: 0x01340001

#define TSP_SOMEIP_WimdowCmd_REQ                                0x000509003 // 功能:车窗控制 云端信号: 0x02 车端信号: 0x0133000B
#define TSP_SOMEIP_WimdowCmd_RSP                                0x000509003|TCU_RSP_DIRECTION_MASK // 功能:车窗控制 云端信号: 0x02 车端信号: 0x0133000B

#define TSP_SOMEIP_ALLDOORCMD_REQ                               0x000509004 // 功能:车锁控制 云端信号: 0x03 车端信号: 0x0133000B
#define TSP_SOMEIP_ALLDOORCMD_RSP                               0x000509004|TCU_RSP_DIRECTION_MASK // 功能:车锁控制 云端信号: 0x03 车端信号: 0x0133000B

#define TSP_SOMEIP_TAILGATECMD_REQ                              0x000509006 // 功能:后背门控制（机械） 云端信号: 0x04 车端信号: 0x01120009
#define TSP_SOMEIP_TAILGATECMD_RSP                              0x000509006|TCU_RSP_DIRECTION_MASK // 功能:后背门控制（机械） 云端信号: 0x04 车端信号: 0x01120009

#define TSP_SOMEIP_POT_OPENCLOSECMD_REQ                         0x000509007 // 功能:后背门控制（电门） 云端信号: 0x04 车端信号: 0x01270002
#define TSP_SOMEIP_POT_OPENCLOSECMD_RSP                         0x000509007|TCU_RSP_DIRECTION_MASK // 功能:后背门控制（电门） 云端信号: 0x04 车端信号: 0x01270002

#define TSP_SOMEIP_PDCMSOCSet_REQ                               0x000509012 // 功能:远程启动发动机 云端信号: 0x05 车端信号: 0x30000013
#define TSP_SOMEIP_PDCMSOCSet_RSP                               0x000509012|TCU_RSP_DIRECTION_MASK // 功能:远程启动发动机 云端信号: 0x05 车端信号: 0x30000013

#define TSP_SOMEIP_StartForbiden_REQ                            0x000510001 // 功能:远程禁止启动 云端信号: 0x06 车端信号: 0x40000002
#define TSP_SOMEIP_StartForbiden_RSP                            0x000510001|TCU_RSP_DIRECTION_MASK // 功能:远程禁止启动 云端信号: 0x06 车端信号: 0x40000002

#define TSP_SOMEIP_OneSetComfortReq_REQ                         0x000502011 // 功能:一键舒适座舱 云端信号: 0x07 车端信号: 0x0103000B
#define TSP_SOMEIP_OneSetComfortReq_RSP                         0x000502011|TCU_RSP_DIRECTION_MASK // 功能:一键舒适座舱 云端信号: 0x07 车端信号: 0x0103000B

#define TSP_SOMEIP_PhotoOnOff_REQ                               0x000509009 // 功能:一键拍照 云端信号: 0x08 车端信号: 0x100A0001
#define TSP_SOMEIP_PhotoOnOff_RSP                               0x000509009|TCU_RSP_DIRECTION_MASK // 功能:一键拍照 云端信号: 0x08 车端信号: 0x100A0001

#define TSP_SOMEIP_USECARBOOKSET_REQ                            0x000509010 // 功能:预约用车 云端信号: 0x09/ 0x0A/ 0x16 车端信号: 0x30000011
#define TSP_SOMEIP_USECARBOOKSET_RSP                            0x000509010|TCU_RSP_DIRECTION_MASK // 功能:预约用车 云端信号: 0x09/ 0x0A/ 0x16 车端信号: 0x30000011

#define TSP_SOMEIP_UserStopChrg_REQ                             0x000509013 // 功能:远程立即充电 云端信号: 0x0B/ 0x11 车端信号:3000000E
#define TSP_SOMEIP_UserStopChrg_RSP                             0x000509013|TCU_RSP_DIRECTION_MASK // 功能:远程立即充电 云端信号: 0x0B/ 0x11 车端信号: 0x30000013

#define TSP_SOMEIP_TargetChrgSocSet_REQ                         0x000506009 // 功能:目标充电电量设置 云端信号: 0x0B/ 0x12 车端信号: 0x30000010
#define TSP_SOMEIP_TargetChrgSocSet_RSP                         0x000506009|TCU_RSP_DIRECTION_MASK // 功能:目标充电电量设置 云端信号: 0x0B/ 0x12 车端信号: 0x30000010

#define TSP_SOMEIP_WAKE_UP_TYPE_REQ                             0x00130016 // 功能:一键泊车唤醒TDA4 云端信号: 0x0C 车端信号: 0x50050037
#define TSP_SOMEIP_WAKE_UP_TYPE_RSP                             0x00130016|TCU_RSP_DIRECTION_MASK // 功能:一键泊车唤醒TDA4 云端信号: 0x0C 车端信号: 0x50050037

#define TSP_MODEM_RTK_CTR_REQ                                   0x00051e002 // 功能:RTK控制 云端信号: 0x0D 车端信号:tbox内部逻辑
#define TSP_MODEM_RTK_CTR_RSP                                   0x00051e002|TCU_RSP_DIRECTION_MASK // 功能:RTK控制 云端信号: 0x0D 车端信号:tbox内部逻辑

#define TSP_SOMEIP_SKYLIGHT_REQ                                 0x00051e005 // 功能:天窗控制 云端信号: 0x0E 车端信号: 0x012A0002
#define TSP_SOMEIP_SKYLIGHT_RSP                                 0x00051e005|TCU_RSP_DIRECTION_MASK // 功能:天窗控制 云端信号: 0x0E 车端信号: 0x012A0002

#define TSP_SOMEIP_ChangeToImmediatelyChrg_REQ                  0x00051e00E // 功能:一键立即充电 云端信号: 0x0F 车端信号: 0x30000016
#define TSP_SOMEIP_ChangeToImmediatelyChrg_RSP                  0x00051e00E|TCU_RSP_DIRECTION_MASK // 功能:一键立即充电 云端信号: 0x0F 车端信号: 0x30000016

#define TSP_SOMEIP_START_AUTHORITY_REQ                          0x00051e012 // 功能:远程授权启动 云端信号: 0x10 车端信号: 0x01340002
#define TSP_SOMEIP_START_AUTHORITY_RSP                          0x00051e012|TCU_RSP_DIRECTION_MASK // 功能:远程授权启动 云端信号: 0x10 车端信号: 0x01340002

#define TSP_SOMEIP_RemoteACReq_REQ                              0x00050600C // 功能:远程空调开启请求 云端信号: 0x13 车端信号: 0x01030011
#define TSP_SOMEIP_RemoteACReq_RSP                              0x00050600C|TCU_RSP_DIRECTION_MASK // 功能:远程空调开启请求 云端信号: 0x13 车端信号: 0x01030011

#define TSP_SOMEIP_RemoteSeatCfgReq_REQ                         0x00050600B // 功能:远程开启座椅加热/通风请求 云端信号: 0x14 车端信号: 0x01030012
#define TSP_SOMEIP_RemoteSeatCfgReq_RSP                         0x00050600B|TCU_RSP_DIRECTION_MASK // 功能:远程开启座椅加热/通风请求 云端信号: 0x14 车端信号: 0x01030012

#define TSP_SOMEIP_TimedChrgSet_REQ                             0x00050600A // 功能:定时充电用户信息设置 云端信号: 0x15 车端信号: 0x3000001A
#define TSP_SOMEIP_TimedChrgSet_RSP                             0x00050600A|TCU_RSP_DIRECTION_MASK // 功能:定时充电用户信息设置 云端信号: 0x15 车端信号: 0x3000001A

#define TSP_SOMEIP_ComfortTravelBook_REQ                        0x00050600D // 功能:舒适出行预约请求 云端信号: 0x16 车端信号: 0x01030013
#define TSP_SOMEIP_ComfortTravelBook_RSP                        0x00050600D|TCU_RSP_DIRECTION_MASK // 功能:舒适出行预约请求 云端信号: 0x16 车端信号: 0x01030013

#define TSP_SOMEIP_ReadyOffALLDoorLockAndArmedCmd_REQ           0x00050600E// 功能:远程下电闭锁 云端信号: 0x17 车端信号: 0x0102000B    H53A
#define TSP_SOMEIP_ReadyOffALLDoorLockAndArmedCmd_RSP           0x00050600E|TCU_RSP_DIRECTION_MASK// 功能:远程下电闭锁 云端信号: 0x17 车端信号: 0x0102000B    H53A

#define TSP_SOMEIP_ChgLidCmd_Switch_REQ                         0x00050600F// 功能:远程开启充电口盖 云端信号: 0x18 车端信号: 0x010E0002    H53B
#define TSP_SOMEIP_ChgLidCmd_Switch_RSP                         0x00050600F|TCU_RSP_DIRECTION_MASK// 功能:远程开启充电口盖 云端信号: 0x18 车端信号: 0x010E0002    H53B

#define TSP_SOMEIP_SentryMCmd_REQ                               0x000506010// 功能:远程开启哨兵模式 云端信号: 0x19、0x20 车端信号: 0x8D010001    H53B
#define TSP_SOMEIP_SentryMCmd_RSP                               0x000506010|TCU_RSP_DIRECTION_MASK //功能:远程开启哨兵模式 云端信号: 0x19、0x20 车端信号: 0x8D010001    H53B

#define TSP_SOMEIP_WARRINGA5_ACplugsConnectFail_NOTIFY          0x00051e007
#define TSP_SOMEIP_WARRINGA5_ACplugsConnectFail_ACK             0x00051e007|TCU_RSP_DIRECTION_MASK // A5 充电枪半连接提醒

#define TSP_SOMEIP_WARRINGA6_ChangeToImmediatelyChrg_NOTIFY     0x00051e008
#define TSP_SOMEIP_WARRINGA6_ChangeToImmediatelyChrg_ACK        0x00051e008|TCU_RSP_DIRECTION_MASK // A6 充电提醒（立即充电提醒）

#define TSP_SOMEIP_WARRINGA7_ChargeErr_NOTIFY                   0x00051e009
#define TSP_SOMEIP_WARRINGA7_ChargeErr_ACK                      0x00051e009|TCU_RSP_DIRECTION_MASK // A7 充电故障提醒

#define TSP_SOMEIP_WARRINGA8_ChrgPileErr_NOTIFY                 0x00051e00A
#define TSP_SOMEIP_WARRINGA8_ChrgPileErr_ACK                    0x00051e00A|TCU_RSP_DIRECTION_MASK // A8 充电辅源不匹配故障提醒

#define TSP_SOMEIP_WARRINGA9_DoorLockForget_NOTIFY              0x00051e00B
#define TSP_SOMEIP_WARRINGA9_DoorLockForget_ACK                 0x00051e00B|TCU_RSP_DIRECTION_MASK // A9 车门忘锁提醒

#define TSP_SOMEIP_WARRINGAA_TailgateLockForget_NOTIFY          0x00051e00C
#define TSP_SOMEIP_WARRINGAA_TailgateLockForget_ACK             0x00051e00C|TCU_RSP_DIRECTION_MASK // AA 尾门忘关提醒

#define TSP_SOMEIP_WARRINGAB_LowSocShutOff_NOTIFY               0x00051e00D
#define TSP_SOMEIP_WARRINGAB_LowSocShutOff_ACK                  0x00051e00D|TCU_RSP_DIRECTION_MASK // AB 即将下电提醒

#define TSP_SOMEIP_WARRINGAC_Batt12VLowPowerRemindSts_NOTIFY    0x00051e00F
#define TSP_SOMEIP_WARRINGAC_Batt12VLowPowerRemindSts_ACK       0x00051e00F|TCU_RSP_DIRECTION_MASK // AC 蓄电池电量不足提醒

#define TSP_SOMEIP_WARRINGA2_Sunroof_LokUpSts_NOTIFY            0x00051e010
#define TSP_SOMEIP_WARRINGA2_Sunroof_LokUpSts_ACK               0x00051e010|TCU_RSP_DIRECTION_MASK // A2 下电天窗未关提醒

#define TSP_SOMEIP_WARRINGA3_Sunroof_RLSCloseWinSts_NOTIFY      0x00051e011
#define TSP_SOMEIP_WARRINGA3_Sunroof_RLSCloseWinSts_ACK         0x00051e011|TCU_RSP_DIRECTION_MASK // A3 雨天天窗未关提醒

#define TSP_SOMEIP_START_AUTHRITYSTATUS_NOTIFY                  0x00051e013

#define TSP_SOMEIP_NFCINFOSERVICE_NOTIFY                        0x00051e014 // 40118001 NFC交互
#define TSP_SOMEIP_NFCINFOSERVICE_REQUEST                       0x00051e015 // 40110001 NFC交

#define TSP_SOMEIP_WARRINGAD_ACSYSTEMFAULT_NOTIFY               0x00051e016 // 空调故障状态提醒
#define TSP_SOMEIP_WARRINGAD_ACSYSTEMFAULT_ACK                  0x00051e016|TCU_RSP_DIRECTION_MASK // 空调故障状态提醒

#define TSP_SOMEIP_WARRINGAE_SEATSYSTEMFAULT_NOTIFY             0x00051e017 // 座椅故障状态提醒
#define TSP_SOMEIP_WARRINGAE_SEATSYSTEMFAULT_ACK                0x00051e017|TCU_RSP_DIRECTION_MASK // 座椅故障状态提醒

#define TSP_SOMEIP_WARRINGAF_STEERINGWHEELFAULT_NOTIFY          0x00051e018 // 方向盘故障状态提醒
#define TSP_SOMEIP_WARRINGAF_STEERINGWHEELFAULT_ACK             0x00051e018|TCU_RSP_DIRECTION_MASK // 方向盘故障状态提醒

#define TSP_SOMEIP_WARRINGB0_CHANGEERR500V_NOTIFY               0x00051e019 //500V无法充电提醒
#define TSP_SOMEIP_WARRINGB0_CHANGEERR500V_ACK                  0x00051e019|TCU_RSP_DIRECTION_MASK //500V无法充电提醒


#define TSP_SOMEIP_WARRINGB1_SentryModeAlarmLevel_NOTIFY        0x00051e01A //B1 哨兵告警-警示
#define TSP_SOMEIP_WARRINGB1_SentryModeAlarmLevel_ACK           0x00051e01A|TCU_RSP_DIRECTION_MASK    //B1 哨兵告警-警示

#define TSP_SOMEIP_WARRINGB2_SentryModeAlarmReason_NOTIFY       0x00051e01B //B2 哨兵告警-警告-近距离存在异常人车
#define TSP_SOMEIP_WARRINGB2_SentryModeAlarmReason_ACK          0x00051e01B|TCU_RSP_DIRECTION_MASK    //B2 哨兵告警-警告-近距离存在异常人车

#define TSP_SOMEIP_WARRINGB3_SentryModeAlarmReason_NOTIFY       0x00051e01C //B3 哨兵告警-警告-车辆因外力振动
#define TSP_SOMEIP_WARRINGB3_SentryModeAlarmReason_ACK          0x00051e01C|TCU_RSP_DIRECTION_MASK    //B3 哨兵告警-警告-车辆因外力振动

#define TSP_SOMEIP_WARRINGB4_SentryModeAlarmReason_NOTIFY       0x00051e01D //B4 哨兵告警-警告-车辆位置大幅度偏移
#define TSP_SOMEIP_WARRINGB4_SentryModeAlarmReason_ACK          0x00051e01D|TCU_RSP_DIRECTION_MASK    //B4 哨兵告警-警告-车辆位置大幅度偏移

#define TSP_SOMEIP_WARRINGB5_SentryModeAlarmReason_NOTIFY       0x00051e01E //B5 哨兵告警-警告-车辆防盗系统
#define TSP_SOMEIP_WARRINGB5_SentryModeAlarmReason_ACK          0x00051e01E|TCU_RSP_DIRECTION_MASK    //B5 哨兵告警-警告-车辆防盗系统

#define TSP_SOMEIP_WARRINGB6_SentryModeAlarmReason_NOTIFY       0x00051e01F//B6 哨兵退出提醒
#define TSP_SOMEIP_WARRINGB6_SentryModeAlarmReason_ACK          0x00051e01F|TCU_RSP_DIRECTION_MASK    //B6 哨兵退出提醒

// #define TSP_SOMEIP_WARRINGB7__NOTIFY       0x00051e020//B7 充电停止时APP提醒
// #define TSP_SOMEIP_WARRINGB7__ACK          0x00051e020|TCU_RSP_DIRECTION_MASK    //B7 充电停止时APP提醒

#define TSP_SOMEIP_WARRINGB8_ChargeSocketTempWarn_NOTIFY       0x00051e021//B8 充放电口过温提醒
#define TSP_SOMEIP_WARRINGB8_ChargeSocketTempWarn_ACK          0x00051e021|TCU_RSP_DIRECTION_MASK    //B8 充放电口过温提醒

/***************************** EXD *****************************/
#define EXD_TSP_SOMEIP_DoorSts_NOTIFY                           0x000520001 // DoorStsService门状态

#define EXD_TSP_SOMEIP_VehicleDrivingInfo_NOTIFY                0x000520002 // 整车信息

#define EXD_TSP_SOMEIP_PowerSysDisplay_NOTIFY                   0x000520003 // 动力系统显示信息

#define EXD_TSP_SOMEIP_WindowPosition_RSP                       0x000520004 // 车窗状态

#define EXD_TSP_SOMEIP_TrunLampSts_NOTIFY                       0x000520005 // 转向灯状态

#define EXD_TSP_SOMEIP_WinAutoCloseFaultRemind_NOTIFY           0x000520006 // 自动关窗

/***************************** V2X *****************************/
#define V2X_SOMEIP_DYNAMICROADINFORMATION_NOTIFY                0x00600001

#define V2X_SOMEIP_TRAFFICSIGNS_NOTIFY                          0x00600002

#define V2X_SOMEIP_COLLISION_NOTIFY                             0x00600003

#define V2X_SOMEIP_SAFETYTIPS_NOTIFY                            0x00600004

#define V2X_SOMEIP_V2XSTATUS_NOTIFY                             0x00600005

#define V2X_SOMEIP_SET_V2XENABLE_Req                            0x00600006
#define V2X_SOMEIP_SET_V2XENABLE_Rsp                            0x00600006|TCU_RSP_DIRECTION_MASK

#define V2X_SOMEIP_GET_V2XENABLE_Req                            0x00600007
#define V2X_SOMEIP_GET_V2XENABLE_Rsp                            0x00600007|TCU_RSP_DIRECTION_MASK

#define V2X_SOMEIP_ChassisSysInfo_NOTIFY                        0x00600008

#define V2X_OTA_UPGRADE_STA_NOTIFY                              0x00600009
#define V2X_OTA_UPGRADE_STA_NOTIFY_ACK                          0x00600009|TCU_RSP_DIRECTION_MASK

#define V2X_OTA_UPGRADE_result_NOTIFY                           0x00600010
#define V2X_OTA_UPGRADE_result_ACK                              0x00600010|TCU_RSP_DIRECTION_MASK

/***************************** Diagnostic *****************************/
#define Diagnostic_doip_DTC_ADD_NOTIFY                          0x00060017
#define Diagnostic_doip_DTC_ADD_ACK                             0x00060017|TCU_RSP_DIRECTION_MASK

#define Diagnostic_doip_DTC_DEL_NOTIFY                          0x00060018
#define Diagnostic_doip_DTC_DEL_ACK                             0x00060018|TCU_RSP_DIRECTION_MASK

#define Diagnostic_NAD2MCU_SYSN_REQ                             0x00060019
#define Diagnostic_NAD2MCU_SYSN_RSP                             0x00060019|TCU_RSP_DIRECTION_MASK

#define Diagnostic_MCU2NAD_SYSN_REQ                             0x00060020
#define Diagnostic_MCU2NAD_SYSN_RSP                             0x00060020|TCU_RSP_DIRECTION_MASK

#define DIAG_MODEM_DID_GET_LINK_STAT_REQ                        0x00060023
#define DIAG_MODEM_DID_GET_LINK_STAT_RSP                        0x00060023|TCU_RSP_DIRECTION_MASK

#define DIAG_MODEM_DID_GET_SQI_REQ                              0x00060024
#define DIAG_MODEM_DID_GET_SQI_RSP                              0x00060024|TCU_RSP_DIRECTION_MASK

#define DIAG_MODEM_DID_GET_LINK_DOWN_NUM_REQ                    0x00060025
#define DIAG_MODEM_DID_GET_LINK_DOWN_NUM_RSP                    0x00060025|TCU_RSP_DIRECTION_MASK

#define DIAG_MODEM_DID_GET_ETH_MODE_REQ                         0x00060026
#define DIAG_MODEM_DID_GET_ETH_MODE_RSP                         0x00060026|TCU_RSP_DIRECTION_MASK

#define DIAG_MODEM_DID_SET_ETH_MODE_REQ                         0x00060027
#define DIAG_MODEM_DID_SET_ETH_MODE_RSP                         0x00060027|TCU_RSP_DIRECTION_MASK

#define DIAG_MODEM_IO_CTRL_AMP_CTRL_REQ                         0x00060028
#define DIAG_MODEM_IO_CTRL_AMP_CTRL_RSP                         0x00060028|TCU_RSP_DIRECTION_MASK

#define DIAG_MODEM_IO_CTRL_MIC_CTRL_REQ                         0x00060029
#define DIAG_MODEM_IO_CTRL_MIC_CTRL_RSP                         0x00060029|TCU_RSP_DIRECTION_MASK

#define DIAG_MODEM_ROUTINE_CTRL_PHY_TEST_MODE_CTRL_REQ          0x00060030
#define DIAG_MODEM_ROUTINE_CTRL_PHY_TEST_MODE_CTRL_RSP          0x00060030|TCU_RSP_DIRECTION_MASK

#define DIAG_MODEM_ROUTINE_CTRL_PHY_DIAG_CTRL_REQ               0x00060031
#define DIAG_MODEM_ROUTINE_CTRL_PHY_DIAG_CTRL_RSP               0x00060031|TCU_RSP_DIRECTION_MASK

#define DIAG_SOMEIP_DID_GET_SECURITY_KEY_REQ                    0x00060032
#define DIAG_SOMEIP_DID_GET_SECURITY_KEY_RSP                    0x00060032|TCU_RSP_DIRECTION_MASK

#define DIAG_PKI_DID_GET_LINK_STAT_REQ                          0x00060033
#define DIAG_PKI_DID_GET_LINK_STAT_RSP                          0x00060033|TCU_RSP_DIRECTION_MASK

#define DIAG_IDPS_ROUTINE_CTRL_OTA_SYNC_CTRL_REQ                0x00060034
#define DIAG_IDPS_ROUTINE_CTRL_OTA_SYNC_CTRL_RSP                0x00060034|TCU_RSP_DIRECTION_MASK

#define DIAG_PKI_ROUTINE_CTRL_NAD_PKI_CTRL_REQ                  0x00060035
#define DIAG_PKI_ROUTINE_CTRL_NAD_PKI_CTRL_RSP                  0x00060035|TCU_RSP_DIRECTION_MASK

#define DIAG_PKI_ROUTINE_CTRL_AP_PKI_CTRL_REQ                   0x00060036
#define DIAG_PKI_ROUTINE_CTRL_AP_PKI_CTRL_RSP                   0x00060036|TCU_RSP_DIRECTION_MASK

#define DOIP_MCU_DTC_STATUS_NOTIFY                              0x00060037
#define DOIP_MCU_DTC_STATUS_ACK                                 0x00060037|TCU_RSP_DIRECTION_MASK

#define DOIP_MCU_DIAGNOSTIC_REQ                                 0x00060038
#define DOIP_MCU_DIAGNOSTIC_RSP                                 0x00060038|TCU_RSP_DIRECTION_MASK

#define MCU_DOIP_SYNC_DID_NOTIFY                                0x00060039
#define MCU_DOIP_SYNC_DID_ACK                                   0x00060039|TCU_RSP_DIRECTION_MASK

#define DOIP_MCU_SYNC_DID_NOTIFY                                0x00060040
#define DOIP_MCU_SYNC_DID_ACK                                   0x00060040|TCU_RSP_DIRECTION_MASK

#define DOIP_NAD_SYNC_DID_REQ                                   0x00060050
#define DOIP_NAD_SYNC_DID_RSP                                   0x00060050|TCU_RSP_DIRECTION_MASK

#define MCU_DOIP_DTC_LIST_NOTIFY                                0x00060041
#define MCU_DOIP_DTC_LIST_ACK                                   0x00060041|TCU_RSP_DIRECTION_MASK

#define MCU_DOIP_SYNC_DTC_NOTIFY                                0x00060042
#define MCU_DOIP_SYNC_DTC_ACK                                   0x00060042|TCU_RSP_DIRECTION_MASK

#define MCU_DOIP_DIAGNOSTIC_REQ                                 0x00060043
#define MCU_DOIP_DIAGNOSTIC_RSP                                 0x00060043|TCU_RSP_DIRECTION_MASK

#define NAD_MCU_VehInfoData_NOTIFY                              0x00060045

#define DIAG_SOMEIP_DID_SET_SECURITY_KEY_REQ                    0x00060046
#define DIAG_SOMEIP_DID_SET_SECURITY_KEY_RSP                    0x00060046|TCU_RSP_DIRECTION_MASK

#define TCU_Internal_Fault_Warning_NOTIFY                       0x00060047
#define TCU_Internal_Fault_Warning_ACK                          0x00060047|TCU_RSP_DIRECTION_MASK

#define MODEM_TSP_RTK_SERVER_STATUS_NOTIFY                      0x00060048

#define DOIP_SOMEIP_AccessKEY_NOTIFY                            0x00060049
#define DOIP_SOMEIP_AccessKEY_ACK                               0x00060049|TCU_RSP_DIRECTION_MASK

#define DIAGNOSTIC_HEARTBEAT_REQ                                0x00060051
#define DIAGNOSTIC_HEARTBEAT_RSP                                0x00060051|TCU_RSP_DIRECTION_MASK

/***************************** DM *****************************/
// BEGIN: 国标数据
#define DM_HANDLE_GBDATA_Req                                    0x000A0001
#define DM_HANDLE_GBVDATA_Rsp                                   0x000A0001|TCU_RSP_DIRECTION_MASK

#define DM_SEND_GBDATA_TOSER_Req                                0x000A0002
#define DM_SEND_GBDATA_TOSER_Rsp                                0x000A0002|TCU_RSP_DIRECTION_MASK

#define DM_SERVER_CONNECT_STATU_Req                             0x000A0003
#define DM_SERVER_CONNECT_STATU_Rsp                             0x000A0003|TCU_RSP_DIRECTION_MASK

#define DM_GET_REPUSHFLAG_Req                                   0x000A0004
#define DM_GET_REPUSHFLAG_Rsp                                   0x000A0004|TCU_RSP_DIRECTION_MASK

#define DM_DELETE_GBSTORY_FILE_Req                              0x000A0005
#define DM_DELETE_GBSTORY_FILE_Rsp                              0x000A0005|TCU_RSP_DIRECTION_MASK

#define DM_SET_STORY_ENABLE_Req                                 0x000A0006
#define DM_SET_STORY_ENABLE_Rsp                                 0x000A0006|TCU_RSP_DIRECTION_MASK

// 临时添加，后续删掉
#define Diagnostic_Someip_DTC_ADD_NOTIFY                        0x000A000A

#define Modem_SyncRTCTimeFlag_Req                               0x00110018
#define Modem_SyncRTCTimeFlag_Rsp                               0x00110018|TCU_RSP_DIRECTION_MASK

#endif 